﻿using System;
using JStore.Core.Enums;

namespace JStore.Web.Controllers.MoneyLogs.ViewModels
{
    public class MoneyLogModel
    {
        /// <summary>
        /// 
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public int UserId { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public MoneyType MoneyType { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public decimal BalanceMoney { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public decimal Rate { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public decimal OtherRate { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public decimal TotalMoney { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public decimal RealMoney { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public int SourceUserId { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string SourceUserName { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public DateTime CreateDate { get; set; }

        public bool IsSend { get; set; }

        public int? OperUserId { get; set; }

        public string OperUserName { get; set; }

        public DateTime? ModifyTime { get; set; }
    }
}